#ifndef FACEREGISTERWIN_H
#define FACEREGISTERWIN_H

#include <QMainWindow>
#include <QSqlTableModel>
#include <opencv2/opencv.hpp>
#include <videomodel.h>
namespace Ui {
class FaceRegisterWin;
}

class FaceRegisterWin : public QMainWindow
{
    Q_OBJECT

public:
    explicit FaceRegisterWin(QWidget *parent = nullptr);
    ~FaceRegisterWin();
    void timerEvent(QTimerEvent *e);

    static QString faceuser;

private slots:
    void on_addBt_clicked();

private:
    Ui::FaceRegisterWin *ui;
    QVector <QString> facepaths;

    int count;

    VideoModel *video;
    int timerid;


};

#endif // FACEREGISTERWIN_H


